assistant: set window title with page title
authorWilliam Jon McCann <william.jon.mccann@gmail.com>
Wed, 29 Jan 2014 03:36:16 +0000 (22:36 -0500)
committerWilliam Jon McCann <william.jon.mccann@gmail.com>
Thu, 30 Jan 2014 01:56:21 +0000 (20:56 -0500)
This will set the headerbar title when necessary

https://bugzilla.gnome.org/show_bug.cgi?id=723212

gtk/gtkassistant.c

index 62e530cb78cb338d9886db15e2d9cc0d1c6cbb55..80cb1993d14faf3bec534713d6b3c246b743f813 100644 (file)
@@ -950,6 +950,8 @@ set_current_page (GtkAssistant *assistant,
 
   update_title_state (assistant);
 
+  gtk_window_set_title (GTK_WINDOW (assistant), priv->current_page->title);
+
   gtk_notebook_set_current_page (GTK_NOTEBOOK (priv->content), page_num);
 
   /* update buttons state, flow may have changed */